#import "IHCustomBGTableView.h"
#import "supportingHeadFiles.h"

#pragma mark Constants


#pragma mark - Class Extension

@interface IHCustomBGTableView ()

- (void)_initializeCustomBGTableView;


@end


#pragma mark - Class Variables


#pragma mark - Class Definition

@implementation IHCustomBGTableView


#pragma mark - Properties


#pragma mark - Constructors

- (id)initWithFrame: (CGRect)frame
{
	// Abort if base initializer fails.
	if ((self = [super initWithFrame: frame]) == nil)
	{
		return nil;
	}
	
	// Initialize view.
	[self _initializeCustomBGTableView];
	
	// Return initialized instance.
	return self;
}

- (id)initWithCoder: (NSCoder *)coder
{
	// Abort if base initializer fails.
	if ((self = [super initWithCoder: coder]) == nil)
	{
		return nil;
	}
	
	// Initialize view.

	[self _initializeCustomBGTableView];
	
	// Return initialized instance.
	return self;
}

- (void)awakeFromNib
{
    //去掉空Cell的Separator
    if (!self.tableFooterView) {
        self.tableFooterView = [[UIView alloc] init];
    }
}


#pragma mark - Public Methods


#pragma mark - Overridden Methods


#pragma mark - Private Methods

- (void)_initializeCustomBGTableView
{
	// Initialize instance variables.
    //设置TalbeView的背景色
    self.backgroundColor = UIColorFromRGB(0xefefef);
//    self.backgroundColor = UIColorFromRGB(0xffffff);
}


@end